#include "Command.h"
#include <windows.h>

CCommand::CCommand()
{
	this->m_pstrCommand = NULL;
	this->m_nNumParams	= 0;

	ZeroMemory(&this->m_pstrParams, sizeof(this->m_pstrParams));
}

CCommand::~CCommand()
{
	if (this->m_pstrCommand)
		delete this->m_pstrCommand;

	for (int i = 0; i < MAX_PARAMS; i++)
		if (this->m_pstrParams[i])
			delete this->m_pstrParams[i];
}
